Skip to main content

mergBgTaskExpired

Type

message

Summary

Sent to the object that called mergBgTaskStart when the background task expires

Syntax

mergBgTaskExpired <pBackgroundTaskIdentifier>

Description

Background tasks last approximately 10 minutes. When you get this message (if your app is in the background) you have under 5 seconds to do any cleanup you require and call mergBgTaskStop otherwise iOS will kill your app instead of suspending it. As soon as you call mergBgTaskStop if your app is in the background it will be suspended unless there are other background tasks that have some time left.

Parameters

NameTypeDescription

pBackgroundTaskIdentifier

An id used to identify the task.

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?